package com.cq.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 我的任务对象 teachehr_mytask
 * 
 * @author cq
 * @date 2024-01-06
 */
public class TeacherMytask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 任务名 */
    @Excel(name = "任务名")
    private String taskName;

    /** 任务说明 */
    @Excel(name = "任务说明")
    private String missionStatement;

    /** 任务人 */
    @Excel(name = "任务人")
    private String taskPerson;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadlineTime;

    /** 是否完成    0 是   1 不是 */
    @Excel(name = "是否完成    0 是   1 不是")
    private Long complete;

    /** 完成说明 */
    @Excel(name = "完成说明")
    private String illustrate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setMissionStatement(String missionStatement) 
    {
        this.missionStatement = missionStatement;
    }

    public String getMissionStatement() 
    {
        return missionStatement;
    }
    public void setTaskPerson(String taskPerson) 
    {
        this.taskPerson = taskPerson;
    }

    public String getTaskPerson() 
    {
        return taskPerson;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setDeadlineTime(Date deadlineTime) 
    {
        this.deadlineTime = deadlineTime;
    }

    public Date getDeadlineTime() 
    {
        return deadlineTime;
    }
    public void setComplete(Long complete) 
    {
        this.complete = complete;
    }

    public Long getComplete() 
    {
        return complete;
    }
    public void setIllustrate(String illustrate) 
    {
        this.illustrate = illustrate;
    }

    public String getIllustrate() 
    {
        return illustrate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("missionStatement", getMissionStatement())
            .append("taskPerson", getTaskPerson())
            .append("creationTime", getCreationTime())
            .append("deadlineTime", getDeadlineTime())
            .append("complete", getComplete())
            .append("illustrate", getIllustrate())
            .toString();
    }
}
